﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
using System.Collections.ObjectModel;

namespace WeiboPlus.Models
{
    public class SNSTrends : NotificationObject
    {
        public SNSTrends()
        {
            trends = new List<SNSTrend>();
        }

        DateTime time;

        public DateTime Time
        {
            get { return time; }
            set
            {
                time = value;
                RaisePropertyChanged("Time");
            }
        }

        List<SNSTrend> trends;

        public List<SNSTrend> Trends
        {
            get { return trends; }
            set
            {
                trends = value;
                RaisePropertyChanged("Trends");
            }
        }
    }

    public class SNSTrend
    {
        string name;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        string query;

        public string Query
        {
            get { return query; }
            set { query = value; }
        }
    }
}
